//
//  AlarmMessageCell.m
//  SIPphone
//
//  Created by wrt on 14-2-17.
//  Copyright (c) 2014年 wrtsoft. All rights reserved.
//

#import "AlarmMessageCell.h"

@implementation AlarmMessageCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)changColorWithIsRead:(int)isRead
{
    if (isRead == 0) //未读
    {
        self.alarmTypeLabel.textColor = [UIColor blueColor];
        self.alarmUriLabel.textColor = [UIColor blueColor];
        self.alarmTimeLabel.textColor = [UIColor blueColor];
    }
    else if (isRead == 1) //已读
    {
        self.alarmTypeLabel.textColor = [UIColor blackColor];
        self.alarmUriLabel.textColor = [UIColor blackColor];
        self.alarmTimeLabel.textColor = [UIColor blackColor];
    }
}

@end
